home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / lib / partman / visual.d / 35name < prev    next >
Text File  |  2009-10-28  |  246b  |  23 lines

  1. #!/bin/sh
  2.  
  3. . /lib/partman/lib/base.sh
  4.  
  5. cd $1
  6.  
  7. num=$2
  8. id=$3
  9. size=$4
  10. type=$5
  11. fs=$6
  12. path=$7
  13. shift; shift; shift; shift; shift; shift; shift
  14. name=$*
  15.  
  16. open_dialog USES_NAMES
  17. read_line x
  18. close_dialog
  19.  
  20. if [ "$x" = yes ]; then
  21.     printf "%.12s" "$name"
  22. fi
  23.